/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-09-01 10:19:32
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// import regex from '../../../../utils/regex.js' // 正则表达式
// import {
//     statusType
// } from '@/utils/config'; //配置项

export default {

    searchObj: [{
            xm: true, //是input
            label: "项目名称：", //字段
            prop: "fprojectid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
        },
        {
            bd: true, //是input
            label: "标段名称", //字段
            prop: "fCompanyid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用

        },

        {
            btn: true, //是input
            width: 12, //参考el-col

        }
    ],

    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [{
                label: "项目名称",
                prop: "F_ProjectName",
                minWidth: "80px",
                align: "center",

            },

            {
                label: "施工单位",
                prop: "F_CompanyName",
                minWidth: "120px",
                align: "center",
            },

            {
                label: "工程名称",
                prop: "F_EngineeringName",
                minWidth: "150px",
                align: "center",
            },
            {
                label: "工程地点",
                prop: "F_EngineeringLocation",
                minWidth: "150px",
                align: "center",
            },
            {
                label: "报验日期",
                prop: "inspectionDates",
                minWidth: "69px",
                align: "center",
            },
            {
                label: "联系人和电话",
                prop: "F_ContactsAndTel",
                minWidth: "69px",
                align: "center",
            },

            {
                label: "检测人员",
                prop: "F_CheckerNames",
                minWidth: "69px",
                align: "center",
            },
            {
                label: "检测数量",
                prop: "F_CheckFoundationCount",
                minWidth: "69px",
                align: "center",
            },
            {
                label: "I类",
                prop: "FirstClasscount",
                minWidth: "60px",
                align: "center",
            },
            {
                label: "II类",
                prop: "SecondClasscount",
                minWidth: "60px",
                align: "center",
            }, {
                label: "III类",
                prop: "ThirdClasscount",
                minWidth: "60px",
                align: "center",
            }, {
                label: "IV类",
                prop: "FourthClasscount",
                minWidth: "60px",
                align: "center",
            }


        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: [],

        },
    },
    FormData: {
        fId: "", // 工程信息fid  有值时表示修改  其余表示新增
        fCompanyid: "", // 施工单位id
        fCompanyname: "", // 施工单位名称
        fProjectid: "", // 项目id
        fProjectname: "", // 项目名称
        fEngineeringname: "", // 工程名称
        fEngineeringlocation: "", // 工程地点
        fEngineeringinfo: "", // 工程信息简述
        fDesignfile: "", // 设计资料文件id
        fPiercount: "", // 墩台数量
        fFoundationcount: "", // 基桩数量
        fRegistrantid: "", // 登记人id
        fRegistrantname: "", // 登记人名称
        fRegistdates: "", // 登记时间
        // 当前用户数据
        userId: "", // 当前登陆用户id
        userName: "", // 当前登陆用户名称
        recordfiles: [], //删除文件id集合--修改时传
    }
}